package model;

/**
 * VUserRole entity. @author MyEclipse Persistence Tools
 */

public class VUserRole  implements java.io.Serializable {
    private String userid;
    private String username;
    private String realname;
    private Integer roleid;
    private String pwd;
    private String phone;
    private Integer photoid;
    private Integer status;
    private String lastlogindate;
    private String createtime;
    private Integer loginstatus;
    private String note;
    private Integer departmentid;
    private String rolename;
    private String description;
    private String roleCreatetime;
    private Integer deepth;
    private Integer parentid;
    private String departmentname;
    private Integer departmentNum;
    private String principal;


   // Constructors

   /** default constructor */
   public VUserRole() {
   }

	/** minimal constructor */
   public VUserRole(String userid, String departmentname, Integer departmentNum) {
       this.userid = userid;
       this.departmentname = departmentname;
       this.departmentNum = departmentNum;
   }
   
   /** full constructor */
   public VUserRole(String userid, String username, String realname, Integer roleid, String pwd, String phone, Integer photoid, Integer status, String lastlogindate, String createtime, Integer loginstatus, String note, Integer departmentid, String rolename, String description, String roleCreatetime, Integer deepth, Integer parentid, String departmentname, Integer departmentNum, String principal) {
       this.userid = userid;
       this.username = username;
       this.realname = realname;
       this.roleid = roleid;
       this.pwd = pwd;
       this.phone = phone;
       this.photoid = photoid;
       this.status = status;
       this.lastlogindate = lastlogindate;
       this.createtime = createtime;
       this.loginstatus = loginstatus;
       this.note = note;
       this.departmentid = departmentid;
       this.rolename = rolename;
       this.description = description;
       this.roleCreatetime = roleCreatetime;
       this.deepth = deepth;
       this.parentid = parentid;
       this.departmentname = departmentname;
       this.departmentNum = departmentNum;
       this.principal = principal;
   }

  
   // Property accessors

   public String getUserid() {
       return this.userid;
   }
   
   public void setUserid(String userid) {
       this.userid = userid;
   }

   public String getUsername() {
       return this.username;
   }
   
   public void setUsername(String username) {
       this.username = username;
   }

   public String getRealname() {
       return this.realname;
   }
   
   public void setRealname(String realname) {
       this.realname = realname;
   }

   public Integer getRoleid() {
       return this.roleid;
   }
   
   public void setRoleid(Integer roleid) {
       this.roleid = roleid;
   }

   public String getPwd() {
       return this.pwd;
   }
   
   public void setPwd(String pwd) {
       this.pwd = pwd;
   }

   public String getPhone() {
       return this.phone;
   }
   
   public void setPhone(String phone) {
       this.phone = phone;
   }

   public Integer getPhotoid() {
       return this.photoid;
   }
   
   public void setPhotoid(Integer photoid) {
       this.photoid = photoid;
   }

   public Integer getStatus() {
       return this.status;
   }
   
   public void setStatus(Integer status) {
       this.status = status;
   }

   public String getLastlogindate() {
       return this.lastlogindate;
   }
   
   public void setLastlogindate(String lastlogindate) {
       this.lastlogindate = lastlogindate;
   }

   public String getCreatetime() {
       return this.createtime;
   }
   
   public void setCreatetime(String createtime) {
       this.createtime = createtime;
   }

   public Integer getLoginstatus() {
       return this.loginstatus;
   }
   
   public void setLoginstatus(Integer loginstatus) {
       this.loginstatus = loginstatus;
   }

   public String getNote() {
       return this.note;
   }
   
   public void setNote(String note) {
       this.note = note;
   }

   public Integer getDepartmentid() {
       return this.departmentid;
   }
   
   public void setDepartmentid(Integer departmentid) {
       this.departmentid = departmentid;
   }

   public String getRolename() {
       return this.rolename;
   }
   
   public void setRolename(String rolename) {
       this.rolename = rolename;
   }

   public String getDescription() {
       return this.description;
   }
   
   public void setDescription(String description) {
       this.description = description;
   }

   public String getRoleCreatetime() {
       return this.roleCreatetime;
   }
   
   public void setRoleCreatetime(String roleCreatetime) {
       this.roleCreatetime = roleCreatetime;
   }

   public Integer getDeepth() {
       return this.deepth;
   }
   
   public void setDeepth(Integer deepth) {
       this.deepth = deepth;
   }

   public Integer getParentid() {
       return this.parentid;
   }
   
   public void setParentid(Integer parentid) {
       this.parentid = parentid;
   }

   public String getDepartmentname() {
       return this.departmentname;
   }
   
   public void setDepartmentname(String departmentname) {
       this.departmentname = departmentname;
   }

   public Integer getDepartmentNum() {
       return this.departmentNum;
   }
   
   public void setDepartmentNum(Integer departmentNum) {
       this.departmentNum = departmentNum;
   }

   public String getPrincipal() {
       return this.principal;
   }
   
   public void setPrincipal(String principal) {
       this.principal = principal;
   }
}